package ${ftl.packageName}.${cgH.moduleName};
<#assign en =0 />
<#assign dto =8 />
import ${mList[en].packageName}.${cgH.moduleName}.${tc.entityName}${mList[en].classPostfix};
import ${mList[dto].packageName}.${cgH.moduleName}.${tc.entityName}${mList[dto].classPostfix};
import com.github.pagehelper.PageInfo;
import com.stars.services.BaseAccessService;
<#if "${cgH.isTree =='1'}">
import java.util.List;
</#if>
/**
 * @Title: ${cgH.content}} 业务逻辑
 * @author dj
 * @date ${tc.createTime}
 * @version V1.0
 *
 */
public interface ${tc.entityName}${tc.entityPostfix} extends BaseAccessService<${tc.entityName}${mList[en].classPostfix}>{

<#if "${cgH.isTree =='1'}">
     /**
     * 查询树形数据
     * @param dto 查询参数
     * @return ResultMsg 树形数据
     */
     List<${tc.entityName}${mList[dto].classPostfix}> findTreeList(${tc.entityName}${mList[dto].classPostfix} dto)throws Exception;
</#if>
      /**
      * 分页查询
      * @param pageNum 起始页，
      * @param pageSize 大小。
      * @param dto 查询参数
      * @return PageInfo 分页数据
      */
      PageInfo<${tc.entityName}${mList[dto].classPostfix}> pageList(Integer pageNum, Integer pageSize, ${tc.entityName}${mList[dto].classPostfix} dto) throws Exception;



}